﻿using ZL.WeChatCard.Entity;

namespace ZL.WeChatCard.Utility.Http
{
    /// <summary>
    /// http 请求接口
    /// </summary>
    public interface IHttpClient
    {
        T HttpGet<T>(string url, IdentityEntity identity) where T : ResponseResultInfo;

        T HttpPost<P, T>(P param, string url, IdentityEntity Identity) where T : ResponseResultInfo;
    }
}
